<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SpiderTest</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> SpiderTest</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an example on how to use the spider-base-class</p>
<p class="description"><p>DONT FORGET: set DEBUG=1 in core.php or php wont generate any errors this test is able to see</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> mnt@codeninja.de</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_kataTest---SpiderTest.php.html">/kataTest/SpiderTest.php</a> (line <span class="field">22</span>)
		</p>
		
				
		<pre>UnitTestCase
   |
   --<a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a>
      |
      --<a href="../katatest_lib/kataTestBaseClass.html">kataTestBaseClass</a>
         |
         --<a href="../katatest_lib/SpiderBaseTest.html">SpiderBaseTest</a>
            |
            --SpiderTest</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																								<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setUp" title="details" class="method-name">setUp</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#testLoggedIn" title="details" class="method-name">testLoggedIn</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#testLoggedOut" title="details" class="method-name">testLoggedOut</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#urlCallback" title="details" class="method-name">urlCallback</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#valueCallback" title="details" class="method-name">valueCallback</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$value</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../katatest_lib/kataTestBaseClass.html">kataTestBaseClass</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../katatest_lib/kataTestBaseClass.html#var$_errorstrings">kataTestBaseClass::$_errorstrings</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../katatest_lib/kataTestBaseClass.html#var$_html">kataTestBaseClass::$_html</a></span><br>
							</span>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../katatest_lib/kataTestBaseClass.html#var$_http">kataTestBaseClass::$_http</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#var$extension">PHPUnit_Framework_TestCase::$extension</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodsetUp" id="setUp"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setUp</span> (line <span class="line-number">24</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setUp
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtestLoggedIn" id="testLoggedIn"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">testLoggedIn</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			testLoggedIn
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtestLoggedOut" id="testLoggedOut"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">testLoggedOut</span> (line <span class="line-number">60</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			testLoggedOut
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodurlCallback" id="urlCallback"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">urlCallback</span> (line <span class="line-number">31</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">if you return false this url wont be visited</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			urlCallback
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../katatest_lib/SpiderBaseTest.html#methodurlCallback">SpiderBaseTest::urlCallback()</a></dt>
						<dd>if you return false the given url won't be visited</dd>
					</dl>
			
	</div>
<a name="methodvalueCallback" id="valueCallback"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">valueCallback</span> (line <span class="line-number">38</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">this routine injects values that may possibly break the webapp</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			valueCallback
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$value</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../katatest_lib/SpiderBaseTest.html#methodvalueCallback">SpiderBaseTest::valueCallback()</a></dt>
						<dd>this routine fiddles with get/post params</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../katatest_lib/SpiderBaseTest.html">SpiderBaseTest</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#method__construct">SpiderBaseTest::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#methodbeEvil">SpiderBaseTest::beEvil()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#methodmanipulateUrlCallback">SpiderBaseTest::manipulateUrlCallback()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#methodurlCallback">SpiderBaseTest::urlCallback()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#methodvalueCallback">SpiderBaseTest::valueCallback()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/SpiderBaseTest.html#methodvisit">SpiderBaseTest::visit()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../katatest_lib/kataTestBaseClass.html">kataTestBaseClass</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#method__construct">kataTestBaseClass::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodassocCookies">kataTestBaseClass::assocCookies()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodbootstrapKata">kataTestBaseClass::bootstrapKata()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodcheckIfDuplicateLink">kataTestBaseClass::checkIfDuplicateLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodclearSession">kataTestBaseClass::clearSession()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodcontainsLink">kataTestBaseClass::containsLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodcontainsText">kataTestBaseClass::containsText()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methoddumpWebsiteHtml">kataTestBaseClass::dumpWebsiteHtml()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodget">kataTestBaseClass::get()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodgetFormVars">kataTestBaseClass::getFormVars()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodgetLinkTarget">kataTestBaseClass::getLinkTarget()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodgetPattern">kataTestBaseClass::getPattern()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodgetPatterns">kataTestBaseClass::getPatterns()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodisHtml">kataTestBaseClass::isHtml()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodkillLog">kataTestBaseClass::killLog()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodloadController">kataTestBaseClass::loadController()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodloadModel">kataTestBaseClass::loadModel()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodlog">kataTestBaseClass::log()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodlogin">kataTestBaseClass::login()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustAnything">kataTestBaseClass::mustAnything()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustHaveForm">kataTestBaseClass::mustHaveForm()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustHaveLink">kataTestBaseClass::mustHaveLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustHaveText">kataTestBaseClass::mustHaveText()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustHaveTextAndLink">kataTestBaseClass::mustHaveTextAndLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustNotHaveForm">kataTestBaseClass::mustNotHaveForm()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustNotHaveLink">kataTestBaseClass::mustNotHaveLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustNotHaveText">kataTestBaseClass::mustNotHaveText()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodmustNotHaveTextOrLink">kataTestBaseClass::mustNotHaveTextOrLink()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodpost">kataTestBaseClass::post()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodsetFollowRedirects">kataTestBaseClass::setFollowRedirects()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodsetVerbose">kataTestBaseClass::setVerbose()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#methodweMustLandAtURL">kataTestBaseClass::weMustLandAtURL()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/kataTestBaseClass.html#method__defineOrEnv">kataTestBaseClass::__defineOrEnv()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#method__construct">PHPUnit_Framework_TestCase::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodafter">PHPUnit_Framework_TestCase::after()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodassertContain">PHPUnit_Framework_TestCase::assertContain()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodassertNotContain">PHPUnit_Framework_TestCase::assertNotContain()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodcreateTmpFile">PHPUnit_Framework_TestCase::createTmpFile()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodreplaceTmpFile">PHPUnit_Framework_TestCase::replaceTmpFile()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodsendMessage">PHPUnit_Framework_TestCase::sendMessage()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 23 Sep 2010 16:25:56 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>